package com.ruoyi.dish.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class DishMenu {
    /*
    +------------------+---------------+------+-----+---------+-------+
| Field            | Type          | Null | Key | Default | Extra |
+------------------+---------------+------+-----+---------+-------+
| menu_id          | varchar(50)   | NO   | PRI | NULL    |       |
| dish_name        | varchar(100)  | NO   |     | NULL    |       |
| price            | decimal(10,2) | NO   |     | NULL    |       |
| store_id         | int(10)       | NO   |     | NULL    |       |
| store_name       | varchar(50)   | YES  |     | NULL    |       |
| store_address    | varchar(50)   | YES  |     | NULL    |       |
| contact_phone    | varchar(50)   | YES  |     | NULL    |       |
| last_update_time | datetime      | YES  |     | NULL    |       |
+------------------+---------------+------+-----+---------+-------+*/

    private String menuId;
    private String dishName;
    private Double price;
    private Integer storeId;
    private String storeName;
    private String storeAddress;
    private String contactPhone;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date lastUpdateTime;

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public String getDishName() {
        return dishName;
    }

    public void setDishName(String dishName) {
        this.dishName = dishName;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getStoreAddress() {
        return storeAddress;
    }

    public void setStoreAddress(String storeAddress) {
        this.storeAddress = storeAddress;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public Date getLastUpdateTime() {
        return lastUpdateTime;
    }

    public void setLastUpdateTime(Date lastUpdateTime) {
        this.lastUpdateTime = lastUpdateTime;
    }
}
